package com.ruoyi.project.yingyu.activityReg.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.user.kkuser.domain.KKUser;

/**
 * 活动报名表对象 activity_reg
 * 
 * @author ruoyi
 * @date 2019-12-02
 */
public class ActivityReg extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** null */
	private Long id;

	/** 用户ID */
	@Excel(name = "用户ID")
	private Long kkid;

	/** 活动 */
	@Excel(name = "活动")
	private Long activityId;

	/** 报名状态 */
	@Excel(name = "报名状态")
	private Long status;

	/** 报名时间 */
	@Excel(name = "报名时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createdTime;

	/** 报名过期时间 */
	@Excel(name = "报名过期时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date expiredTime;

	/** 报名费用(分) */
	@Excel(name = "报名费用(分)")
	private Long totalFee;

	/** 开始时间 */
	@Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date startTime;

	/** 结束时间 */
	@Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date endTime;

	/** 报名类型 */
	@Excel(name = "报名类型")
	private Long mode;

	private KKUser user;

	private String yuan;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setKkid(Long kkid) {
		this.kkid = kkid;
	}

	public Long getKkid() {
		return kkid;
	}

	public void setActivityId(Long activityId) {
		this.activityId = activityId;
	}

	public Long getActivityId() {
		return activityId;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public Long getStatus() {
		return status;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}

	public Date getExpiredTime() {
		return expiredTime;
	}

	public void setTotalFee(Long totalFee) {
		this.totalFee = totalFee;
	}

	public Long getTotalFee() {
		return totalFee;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setMode(Long mode) {
		this.mode = mode;
	}

	public Long getMode() {
		return mode;
	}

	public KKUser getUser() {
		return user;
	}

	public void setUser(KKUser user) {
		this.user = user;
	}

	public String getYuan() {
		return yuan;
	}

	public void setYuan(String yuan) {
		this.yuan = yuan;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("kkid", getKkid()).append("activityId", getActivityId()).append("status", getStatus())
				.append("createdTime", getCreatedTime()).append("expiredTime", getExpiredTime()).append("totalFee", getTotalFee()).append("startTime", getStartTime()).append("endTime", getEndTime())
				.append("mode", getMode()).toString();
	}
}
